Some bugfixes (mostly NullPtrExceptions).
Switched project to Eclipse out of necessity.