Some work on allowing each file to have its 'own' mode and view (#269).