Mysql async transition

Adjusted MySQL code to run in its own thread to prevent huge lag spikes like we experienced yesterday on 103.