simplified exceptions
Merge pull request #92 from XeTK/singleinstance

simplified exceptions
Merge pull request #93 from SoftlySplinter/master

Removed unnecessary class
Fix indentation
Make sed replace all matches

Sed should *absolutely* replaceAll and not replace. @bugsduggan would really appreciate
it if people didn't introduce regressions in his code. Especially in a commit which
doesn't have anything to do with the sed plugin.

Fixes #94
Merge pull request #97 from bugsduggan/issue/94

Fix sed
Some clean-up of code
Fixed prep.sh
Cleared a whole load of warnings and improved some code quality. I still hate Java 6 stream handlling though.
Fixed a few problems that have arisen.
Tried fixing up some stuff
Finished Merging.