Cleaned up cssmenu rendering, and added menu events.