BBrun v1.1 patch
scott@furt.com
http://furt.com/code/misc/bbrun_patch.tgz

This patch seems to stop segfaults when the .bbrun_history
file becomes corrupted, or contains NULL lines, and (IMO)
improves the way that the history file is written back
to disk after the command is executed.

I reworked the writeHistory() function to operate differently.
It will take up slightly more memory (it reads the current history
file to an array, then blanks the history file and writes the
array back).  IMO, the little bit of extra memory it takes to
do things this way is offset by the cleaner code and harder
to corrupt .bbrun_history file.

Please read the source code comments for more information
about what i did and why i did it.  Thanks.
