Frontend: Reimplement multiscan support (needs testing, fixing, and improvements)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>