1) Clean up and Standardise some codes.
2) Eliminate all possible know memory leak. But when the scene is transited, mysterious memory increase is noticed and is not solved yet.
Merge remote-tracking branch 'origin/master'
Cleanup the code.