Done alot of refactoring on exceptions from sqlite. Done some visual styling - not alot. put some todo-s to do later - tomorrow or ...