Module: show inputs/outputs in gui + fix destructor issue