edits to fix ui issues and new mqttcore lib