Comments, update stopwatch, print log from list

Fixed an error where if a thread logged at the same time another
operation was logging as well there would be a error due to two things
accessing the file at once. Decided to store the string for the log in a
list, then write at the end.