Fixed access violation in the Driver framework
Fixed a bug in the serial driver