Add SpMarkAllViewed and SpMarkCategoryViewed

Also cleaned up formatting to match majority.