Updated options/log page (templates, jQuery, CSS)

Still experimental: updated options page to use templates, jQuery, CSS.
 Updated log tempalte to use jQuery, CSS.  Improved global variable
passing for all templates (including home.)