Fix various bugs

 - Use the correct function call for the profiler
 - Fix export, caused by removing QList