Better error output, version now in separate file