fixed some persistence, added dashboard db reading and some more css and
layouting