updated templates and added more settings

templates now have enough flexibility to work with many different
themes. Added settings to give them custom CSS as well as HTML before
and after the templates. Also added an enable or disable sidebar
setting.