Fixed topic adding script and improved categories listing in homepage.