Add bullet profiler. + some fixes.