To Do Burning

Fixed links on all current pages and local tpl, added better error
handling to index.php