1.1.1
fix some db bugs; clean up debugging