fixed AI, GUI fix/update, started tests, tweaked javadoc comments