docs first draft
making some vars public
make things public; add open, close events
remote unused onload