Cleaning display loading code