Knowledge, Action, and the Frame Problem