Added parameter support to macros + other stuff

• Fixed frequencies not parsing for single-digit percent values
• Added another escape sequence
• Added custom function support
• Fixed accidental re-seeding of custom RNG's