Many bugfixes and UI enhancements.