MainFrm: use strongly-typed enum for load states