Implement uniqueID generation for text and movie sources. Fix not removing an observer on InputSource dealloc