moved callback function to pdpgui_architecture.c (main code)
working: basic drawing units and connections