>65536 script size bugfix (fifo buffer limits)