disable display and threads