use .smarty file-ending instead of .tpl
add browserconfig.xml.smarty
prohibit access to files ending in .smarty
remove unnecessary enableCache() functionality (header set automatically by no longer used php session mechanism)
add some tests;
adjust exceptions