Updated much debugging, exceptions and assertions with the path
variable to make it more verbose and easier to track and/or track
where errors occur.