Current work on Auto Profile changes. Related to issue #150.

This still needs a lot of work but it works.