Keycodes fix

* Fixed keyboard codes for opening the popup (for Mac users).
* Fixed some minor design issues