reworked part of the videoloader, fixes #23