Removed superfluous function declaration.
Cleaned up dual pointers computation.
Added menu for keyboard options.