Linux/Windows Fix

* Added a timeout before closing the plugin's window.
* Also changed HTML IDs to be unique and added <label> tags for easier interaction.