Added "Add string" dialog
Fixed some strange bugs on Windows