board needs to be threadsafe unless we want to make it part of the states and copy it on each keypress