bugfix (don't set bed temp if there is no bed) and cleanup