Added bitwise operator support and a few missing Java math functions to the math evaluator. You can read how the math evaluator works here (ignore the command)
Fixed an issue with structures GUI.
Fixed an issue with placing structures/turret under water/lava.
Fixed structures and turrets being destroyed as a result of being burnt.
Performance improvements for GUI handlers and math evaluator.