Remove unneeded variables
Renamed async variables to remove any conflicts of timing.
Removed unused voids
Moved getmessages conversion to its own string method.