fixes #31 as well as a few other cleanups in the admin panel and better logging in dev