Fixed GUI runtime error.
*grumble grumble*