Some project fixes, but db still doesn't work.