Change frame_number to a 32-bit int for compatibility between platforms.
Update BMS profile
Guard against unitialized SHM