bugfix: re-edit beam if template is newer
bugfix: purge before loading
Merge pull request #4 from fredrikelinder/master

bugfix: re-edit beam if template is newer