more gui bug fixes