.. it's not working anymore, added some stuff for GUI integration
well it seems to work better now