Make sure all program output is printed before closing the `gdboutput` handler. Also, made all comparisons against None, proper Null-pointer comparisons (This is much quicker than looking up an object's .__eq__ or .__neq__ method)
Merge pull request #50 from alexleach/full_output

Make sure all program output is printed before closing `gdboutput`.