Fixed obvious bugs and optimized a little.
Better example
Merge branch 'master' of https://github.com/mjvh80/SymWin