mostly complete refactor
fixes
fix error/loading pages
unified error handling, move most logic from renderer to router
merge simplify branch