image and video support added, make glitch a modular thing