misc bugfixes and updates for 0.7 release