Some other minor improvements and a bug fix in the boilerplate
Inspired both from GNU FM, postActiv and Moodle