Implemented Array and ObjectInit hoisting and fixed somebugs. Cleaned up the code.