Code generation optimization
- Added the final c++11 modifier to tell the compiler in some case dont use the vtable to call the functions.
- Added the noreturn declspec for the Quit function.
- Changed back the ExitProcess from exit. The leaks are fixed with the smart ptrs.