Improved UI for mobile, polling for socket states, and config file reading.