Converted to using ArmA 3 functions library. Separated most (there might be one or two that weren't) functions into their own files. Nothing appearing in RPT log, did a quick test in game and appears functional.