Added commentary
fixed gui