Removed line endings. Fixed onEntry template code. Moved Coord constructor.