Small code updates

commit towards v1.0.1
Added a check to make shure that griefprevention is installed.
added new leaf decay flag