Formatter/searchbar: formatter templates modularisation and permanent se...

The newest version, with all your comments applied