Added orientation awareness to KCKarel