When the Shader class' __del__ function is called, an exception occurs:
ImportError: sys.meta_path is None, Python is likely shutting down
Haven't had the time to investigate this more, but it's likely not too big a problem as this only happens when __del__ is called on a Shader object, so only when exiting the program.