public void exit()
    {
        for (int i = 0; i < acceleratedImages.size(); i++)
        {
            System.out.println(names.get(i) + ":");
            double aSum = 0;
            double bSum = 0;
            for (int j = 0; j < cycles; j++)
            {
                aSum += acceleratedTimes.get(i*cycles + j);
                bSum += bufferedTimes.get(i*cycles + j);
            }
            System.out.println("   a: " + aSum/cycles + 
                    " (" + acceleratedImages.get(i).getQuality() + ")");
            System.out.println("   b: " + bSum/cycles);
            System.out.println("   diff: " + (bSum/cycles - aSum/cycles));
            System.out.println();
        }
        
        System.out.println("\nDetails:\n");
        
        System.out.println("Accelerated:");
        for (int i = 0; i < acceleratedTimes.size(); i++)
        {
            if (i % cycles == 0)
            {
                System.out.println(names.get(i/cycles) + ":");
            }
            System.out.println(" " + acceleratedTimes.get(i));
        }
        System.out.println("\nBuffered:");
        for (int i = 0; i < bufferedTimes.size(); i++)
        {
            if (i % cycles == 0)
            {
                System.out.println(names.get(i/cycles) + ":");
            }
            System.out.println(bufferedTimes.get(i));
        }
        
        System.exit(0);
    }