Prevented NullPointerException from happening when iterating over Player class.
Fixed NullPointerException in GUI class.