Bitwise evaluations now formatted correctly and added error checks.