Bugfixes and stability improvements.