Fixed a problem where the AMDetector to AMOldDetector upgrade was working incorrectly on existing databases. Turns out that you should change the index list for the table as well. This has been done in the support space for AMDbUpgrade. Also added some better return value checking in AMDatamanAppController. Started playing with the new scanController for experimenting with text streams.