Optimization

Convert some boolean values to integer constants and use a bitop in
place of a boolean truth test.