ensure that the Courseware is loaded, fixes #265
allow blocks to prevent view switches, fixes #246