Improved Train's hasLocation-method
Tweaking db-settings