Added explicit conversion to integer of $mode argument in BreadcrumbTrail_Error constructor.