Macro syntax improved, added common log functions and string splitting. WIP on macro testing.