implement history, connection settings

cleanup and minor UI changes