Added the main mavenized source code, along with some minor bugfixes.
Added a minor bug fix pointed out ages ago by Janne Rasanen.
Added same fix as optimized DStar got.