Fixed 'Options' button 'BUG:'

See 'Options' button commit for bug details.

Clicked was simply never set back to false. So once clicked, it would
remain true indefinitely.

Also added a bunch of comments to the code and neatened it up a bit...