added a debug role, split frames by frame_max size, added repo to dist.ini