Add automux to gnome terminal startup
Fix issues with notes being setup when gnome-terminal is started

The environment variable becomes set for all gnome-terminal processes,
leading to the notes setup code being run for every gnome-terminal
startup.
Do not define FF rule fo test windows on startup