Added update switch to plotVector
Updated thread handling for current and temperature