Tested hardware and fixed associated bugs. Lots of quick ugly hacks