0.5 various bugfixes and enhancements