AndreasProfiler and other fixes and enh