Revert "board and mainwindow"

This reverts commit bef4e0c66dd9a92372d2d810a5c86e8bd327d949.