Refactored editors and imageviewer (fixed #348)

- Improved tabs visual style
- Refactored editor manager and image viewer
Fixed #348

@devoncarew