new fixes
Switched back to reading the header within readBdf because it's much faster than calling readBdfHeader