Added a variadic createStateBlock function to make creating state blocks less verbose.
Added unique/shared status to commands' states allowing StateBlocks to properly destroy owned states.