keyboard handling + removed "clear" from script paint method