code cleanup + aspect slider added

- now the checkerboard is square by default
- added aspect ratio slider
- did some code cleanup