Refactoring main qt module. Moved popup menus initialization to separate methods, simplified inbox loading and moved magic strings to the model scope constants so they won't be created every time.
minor style changes to previous commit
Merge pull request #553 from Atheros1/master

Some UI code refactoring