Get assembly version from coord_system table, for internal use (e.g. userdata)
Use ASSEMBLY_VERSION, not ASSEMBLY_NAME, for most programmatic purposes
Removed unused variables