The parts are supported by the Beamer style.
To resolve the issue #2, the macro \part and \part* are redefined to be supported by the Beamer style.
The option "onlyparts" is added in the standard toc macros.