Added logging system and walk in place

Added conditional debug messages for key inputs for ncurses wrapper.