added keyboard on/off commands and fixed ..