numerous bugfixes, UI improvements, etc.