Implemented more of the log_profiling_info() function
Added in the file descriptor as a parameter to necessary functions
Merge branch 'master' into printing

Conflicts:
	execute-command.c
Formatted output. Now writes to file descriptor instead of stdout