removed old debug lines and finally fixed the sticky key functionality