Bugfixes

(For the "Locomotive" app, I changed white-space indentation to tabs, to be consistent with the rest of the file)