truncate log file
compile tools in native; print detail
more first-class module functions