Replace hard-coded ActionKit page names with AppSettings references.
Also, some minot refactoring.