Automation Tweaks and Bugfixes

* Fixes https://github.com/LMMS/lmms/issues/27
* Fixes https://github.com/LMMS/lmms/issues/234
* Fixes rendering problems of automation editor.