Fix AMD loading better

Fixes #81
Closes #82
made docs about beforeNotify clearer and tests a little safer