Attempting to wrap GUI in a class to remove global variables from that area