Profiling Code

Here's the profiling code...every 5 seconds it will print the memory usage of specific events...but only if ```jps.enableProfiling``` is true.

Profiling wreacks havoc on your fps - the permanent memory updates will let your fps go down to 80%...(and there's a slight memory leak - one table every 5 seconds...even if there are only 3-7 numbers in it...this shouldn't be noticeable) - but all this is only a problem while profiling.