Fixed some bugs, almost got it

Current Problem is that the return from view_interface isnt going into
the global flightList in js. Need to investigate