*Showmouse code cleanup:
Assignment and declaration of local variables in one line.
Removed redundant brackets.
Fixed indentation.
Removed and added newlines for better readability.
*Showmouse code changes:
Removed these redundant gl calls:
glEnable (GL_TEXTURE_2D);
glDisable (GL_TEXTURE_2D);
(partially fixes LP: #1051290 and LP: #1051295).
Approved by PS Jenkins bot, Sam Spilsbury.