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.
Changed the fix for Linux and Windows to be an optional callback rather than a static timeout. Also removed the x index in the for in loop as it was not needed. Replaced x with the existing id variable for the default radio option.
Merge pull request #1 from SimpleAnecdote/master

Linux/Windows Fix