Added safety checks for callback function pointer. Updated UART test scripts. Added graph_blocks to XSDK project.