First release version 1.0, various bugfixes