Quote support, various improvements & fixes

WT now checks if a quote with a sound file is localized. Various regular
expression improvements.