Update to code, fixing css, jQuery, ACL permissions, some mysql queries and PHP code. Refs #414.