Version 0.5: Lots of bugfixes.