Added a heap usage graph to the profiler in red
Started working on a much better way of defining scripting method