Occupations with UI state management

Define interface state ownership and update rules so that user actions, loading and errors are represented consistently.