RecognitionDialog minor style fix.
FunctionController partial implementation.
MainWindow: Function tab implementation.
FunctionController::detach() implementation.