Made cpu usage more accurate and added it to the webgui