Moved graphPanel to center so it takes up as much room as possible