settings UI bugfixes and preview stop loading bug