Fix annoying trailing comma when printing codes
Copy ICNBC optimisations to ICBLBC