Cleaned up unnecessary code and added another graphPanel