changed event names

Changes openEvent to showEvent and closeEvent to hideEvent. Added
correct version number.