Lots of work

- Drawing should theoretically work now
- Bugfixes, performance improvements, etc everywhere
- Added logging using log4net