added F5 F7 and F12 keys for remote keyboard
load/save state debugging