Some GUI work. Initial AI work