Error checking for imageoverlay added
Can now play output immediately