Feature/check dangling

Plugged check_dangling in the dancer engine