Fixed styling of the toolbar, specifically coloring and sizing of the buttons, and made the labels aware of the current window theme. Also made some changes to updating the toolbar when switching UASes or when UASes disconnect/reconnect.
Missing paren crashes windows compilation
Windows compilation fails due to differing datatypes for input to pow() function.
Merge pull request #296 from Susurrus/win_fixes

Compilation fixes for Windows