[fractal-gen]: More compilation and runtime fixes

Fixed a bunch of issues with compilation and the formatting of the
outputted flame files. Should work properly now.