Fix Ride Construction Crash

Fixes #615 and #582 (probably).

Issue was caused by the input variables to the ride_find_track_gap not being initialized.
There was also a small mistake in yesterdays ride_construction code that prevent certain widgets from operating.