Suppress a few warnings, tidy up

Fixed to not generate warnings when it can't properly parse input, slight tweak to garbage collection