Made keybindings array into linked list; on the way rewrote / improved great parts of keybindings library and some directly or indirectly connected code.