Remove old cruft.
Rename buttons in DlgPreferences.
Remove more CLAM cruft and BpmScheme which is no longer used.
Fix resource file.
Delete more cruft.
Cleanups, comments.