Fixed some minor issues preventing composer from running
logging: simple profiler logging now works even if xhprof unavailable