added keyboard press events to genExplorer