Merge pull request #22 from supranove/master

const-correctness and some minor performance improvements.
add entry in task menu to open settings
add settingsWindow instance variable
add refresh to settings, re-order tray menu
format