Add rendering stub and thread running flag