clean up logging and form code. present activities in reverse chronological order