Some visual tweaks, title works
Removed debug statement
Made the base template more generic