Display create_package error messages in page.
Fix error when no sale order is found.
Switch from bitmasks to booleans.