bug fixes in various places
added HEAD register and Theme register for managing themes available