Add the pixels and ui code.