improve codes of determination on play completion.
remove useless code in corerender.cpp & coreplayer.cpp.