Code and style changes to the BeOS driver code.
Also updated some of the code.