Linux/Windows Fix

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