XHgui and XHprof setup for app profiling