GCS will crash when HITLv2 plugin is started if there is no HITLv2 configuration in the OpenPilotGCS.xml. This is a workaround to prevent this behavior. Better way might be to rework the GCS config handling, but as a workaround this should work.
40 degree beam, hardcoded.
plugin for simulator: https://github.com/hhrhhr/Aerosim-plugin-for-CopterControl