Added removal of redundant null checks. Fully functioning on myth machines.