fixed some old coffee errors
made click open content if content is hidden
various other fixes regarding refresh