Add show_pos()
Move key_bindings out.
Add 'T' as the shortcut of .
Regard print as a function.
Localize some functions.
Move key_bindings out.