fixed typo bug in resize, reorganised defining titlebar
removed altkey arrow bindings that were conflicting with tmux bindings