have keypress handler return void
const-correct functions
use flat array for entries when initializing
silence unused parameter warning in tester
implement MAP, MAPLOCK, MODLOCK
remove unused hasmod function