Base class stuff and an attempt at cursor position.