Improved focus on open, added callbacks

1. Improved focus on open functionality
2. Added on open complete and on close complete callback functions that
can be passed into the options object
README.md update

README.md update