some changes

Please review my changes and pull if you like them. They are not exactly optimized for low verbosity in the change log as I "cleaned up" stuff that might be question of taste rather than clear improvements. Sorry for that.

Update: You might want to also review subsequent commits in my repo. They handle crashes due to doing networking on the ui thread, widget size and dynamic rounding.