amended new game loop creating frames on init