Still have NullPointer if press enter a second time after already placing tile but I fixed other errors.