Removed qdebug calls (forgot about those).