key handling for player, level drawing broken