updated GUI and PC code