added scanning utilities
cleaned up qtutils