Various bug fixes as well as some work on the projects controller.