Refactored javadocs and added error messages to config. Also removed
forgotten println. Henrik Rickard
Removed some commented away lines. Henrik Rickard