Known bugs:
- Window flickers when blocks are added (problem with repainting?)