Fixed issue when mouseDown would be set too early. Also added check for clicking on close button.
Release 0.0.30