Great performance improvement (pointer to rawData), and some GUI changes.