Synced with latest. Fixed bugs, added force close event.

1. Pulled latest from 05.23.2013 main branch
2. Fixed a couple of missing variables
3. Added a _forceHideevent that will guarantee a hide
3a.  Put it behind options setting closeOnClick