Fixed GUI errors