If we don't have a monitor, don't try to use it. This avoids pointless critical warnings on headless systems.