broken again. need to add initialization for gui parameters.