Tidying up javadoc build errors.
Removing .idea from repo.
Supporting packaging an .exe from a one-jar
Tidy up.