updates to gui source code