Try more registry values for windows.

Fixes #4.
Use locally defined `after`.
Take an optional argument.
Doing some cleanup on option handling and fixin key paths for JRE.
0.1.0