Added deriving Show, Eq, and PartialEq to enums
set_cursor now takes arguments as uint