Adds clear active widget functionality to PyGlassWidget.py and modifies PyGlassApplicationCompiler.py to remove resources and build directories once compilation is complete.