Renamed structures internally from __struct(Name) to just Name
General const correctness fixes