generate source maps
bug(logger): can sometimes proceed to next page before logging everything, also some optimization