Improved readline history n stuff