Fixed bugs that won't generate assertion failures

array access out of bound
new and delete mismatch
variables not initialized
etc