Many bug fixes in the sequence dialog so it works properly on Linux
Fix conflicts