Bug fixes len() functions; Prevent closed VideoWriters to crash your interpreter