Add possibility for saving corrected determined frames
fix minor bugs