Added constants and move PI( ) to constants along with TRUE/FALSE

Fixed bug where find_end_of_operand missed logical operators and %