Take care of missing $errors variable.
Fix generated routes being prepended with two slashes.
Fix path to frontend assets.