Speed tweaks and now the temp prints for testing.