cleanup some code.
added WebSAFE sidebar.