Fold the standalone ui in the main panel ui

There is no reason to have a separate template class