some fixes and small changes. also debug info compiled into binaries