some fixes, a new config command, and readline