Better error/debug messages
Improved hostname w/ cookies, +messages on session
Added minimize html option for template