Improvements

Just added a feature to save the profiler result to a file instead of to stdout only,
also removed trailing ;