Refactor appcore-widget using appcore_multiwindow_base