Fixed an error where if blocks were only executed if debugging was enabled. Fixed not executing the line after an if block if it evaluated as false when there was not an else block after the if block.