Fixes

scanpage2: Fixed "list index out of range"
dashboard.html: Records now link to the proper page
scanner: Fixed logging issues