Fixed roxygen2 comments to use the normal #' format

Also disabled some annoying debugging output, re-enable it by passing
verbose=TRUE to the functions in question. Lastly reindented some code.