fixes for vstp trains. also support change train hashchanges
code fixes
allowances