Fixed some bugs and added interaction support

Fixed another bug in how webviews were created/destroyed and the
indexing in the list of active webviews
Provisional interaction support (supports only clicking and movement at
the moment)