The null pointer doesn't crash program now. Still unsure why it's null. Line 272 GUI