- Fix 3382 and some other selection problems. - Some initial work (commented out) on format recognition.