Fixed templates, deleted test devices, made gpu monitoring work. TODO: fix tests