Undef myoffsetof when we are done using it
Add basic command line arguments
Small fixes for problems found when integrating in the gamelogic

* Add header guards
* Add a virtual destructor to Entity
* Fix command line options parsing