Issue: Minor - Fixed some potential NPEs as well as check batch for enable before continue.
Issue: Minor - Fixed some potential NPEs as well as check batch for enable before continue.


git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@2970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio