Fixing error that appeared at GUI start about generator having no len()
Adding reference to issue