UI cleanup!

Fixed several ui related issues:
* closes issue #1093 
* closes issue #1092 
* closes issue #891 
* closes editor's `zoom to fit` bug.