Trying to get GUI to not freeze...