Fixed a bug involving division by zero during initialization.
Merge branch 'master' of https://github.com/Erotemic/guitool