added option to start hidden (e.g. on startup)