with some changes...
I'm trying to use this program in OSX...
became more stable with some debugging