Improved Icon Menu Handling

* Removed the need for P/Invokes accessing the mouse. 
* Fixed compile time issues for Windows from 552c3346.
* Code cleanup from Mono Coding Guidelines on touched files.

I've compiled locally and haven't seen any issues with the updated code - I don't if pausing works though.