Improved bash history saving. Thanks to ZDroid/dotfiles#2
Improved vim tabs/bufers
Minor cleanup