[ros-diffs] [janderwald] 36715: - Replace IDOK with IDC_OK as this creates problems - Add NULL pointer checks - Misc bugfixes