Failed to get GUI working

Something with null pointer exception