Fix a potential Linux autostart problem and change then remove a failed attempt at replacing the linuxtray library