Target mechanic added

- A bunch of other fixes as well, including some semicolon inconsistencies