Updated GUI and added IO file option.