Updated GUI code and documentation