Refactoring.

Refactoring the code layout, no changes beyond changed lines.
Removed stale comments.

With such descriptive constant names, there is no need to keep a
seperate comment for the meaning of the key.
Added names for mouse buttons.