changed comments format to c90
removed external GUI (netmate.ui)
minor bug fixes