Possible fix for bug #11595

Tabs to spaces fix

Fixing memory corruption and a few comments

Comments

Switching to OutBuffer instead of manual memory management

Check to make sure the identifier isn't empty that is being pushed

Adding tests for 11595