fixed bug with floating time acceleration
Update PI_xfse.py

fixed version number, fixed debug code
Brakes should no more reset FlightTime
Changes for upcomming 1.8.0

Changes for upcomming 1.8.0:

1.8.0 (RC3) contains:

- to make the command functions working, all code from the
button-handlers had to be moved into single functions
- Sorted much of the functions by purpose, removed old comments
- removed code from the timer callback that was supposed to calc the
next time interval it has to be called for time compression (Flight Time
now is calculated by X-Plane)
- removed "Tacho Code" as it's no longer supported by FSE
- updated logfiles texts to look more common

- Script is now "Time Compression Safe" - changed code to use X-Plane's
buildin "Flight Time", so time compression levels like 1.5 are possible
without loosing FSE flight time
- Resend button (can send the last URL again (enabled after arrived(),
disabled on StartFlight())

- new DataRef exported: "fse/status/flighttime"
- Added X-Plane CMD: "fse/flight/start",  "fse/flight/cancelArm",
"fse/flight/cancelConfirm"
- Added X-Plane CMD: "fse/window/show",  "fse/window/hide",
"fse/window/toggle"

- changed links to download updates from github to test if update
function still works
Added Repeated Flight Logging

- removed the Resend Button as it's no longer needed
- when plane is stopped the client will try to connect to the server
until transmission is successful
- added a "glass window output" when logging succeeded
Some eye candy tweaks

- Retry-Counter when transmitting
- Value of reported fuel off by one
1.8.0 (RC6)

- added comments to most global variables
- added FSE_Interface script and added screenshots
- changed FSE script to show the times in hh:mm:ss and updated
screenshots
1.8.0 (RC7)

GUI:
- put some more space between the "three error lines"
- moved the update button to the top

Fixed:
- Flight time in the GUI was shown only after takeoff. Now it's shown
directly after starting the flight

Added:
- on the 2nd try to send the flight results the client window shows up
to bring it to the user's attention

- when trying to start a flight and returned error message is "xxx is
not compatible with your rented xxx", then this message is cut and put
into all three of the error lines for better readability

Changed:
- XMIT -> Transmitting
- Line 1 and line 2 of the "flight has been logged" message has been
switched
1.8.0 (RC9)

- FlightTimer is always updated, so after repositioning or changing the
plane the next start flight shouln't no longer be aborted
- "GlassWindow" message prints now the result string from the server
when a flight is started
- "GlassWindow" message prints now the result string from the server
when a flight is finished (error messages are no longer overwritten)
1.8.0 (RC10)

- extended the "GlassWindow" to three line so it can show the same data
as the three error lines
- at the end of the flight the returned message is displayed in the
GlassWindow
1.8.0 (RC11)

- GlassWindow will now show texts in colors
- Fixed bug where flight ends after 1 minute if no engines were running
1.8.0 (RC12)

- disabled GlassWindow message when trying to send to the server. When
trying more than one time the main window pops up, so the GlassWindow
message is useless
- When logging to server was successful fuel and flight time are
additionally shown in the GlassWindow
1.8.0 (RC13)

- prefixed LogFile outputs with "XFSE"
- changed three vars of the error lines .err1/2/3 into an array
- fixed the splitting of server response, so that it will not raise an
exception for the msg "validation error: not enough funds ..."
1.8.0 (RC14)

Major overhaul of the message system
- message text passing to MainWindow and GlassWindow now by one global
function

- Server Response texts are now splitted by space and reorganized to
stay below the maximun line width

- GlassWindow
- now has up to four lines of text
- background contrast raised
- height scales with number of non-empty lines
- width scales with the length of text strings

- changed the message what to do, when plane alias is wrong
1.8.0 (RC15)

- added "fse/server/connect" command, so login can be called from other
plugins
- exported "/fse/status/connected" so Plugins can read the login state
- calling the login() function is locked by self.connected to ensure
it's not called more than once
Updated Lua Examples for login command

- Updated Lua scripts to take advantage of the connect command and the
connected dataref
- Added an option to disable Interface Window if "on ground"
Updated Lua Examples to be more FSE-like

- replaced "on ground" by "departing"
- replaced "airborne" by "enroute"
1.8.0
Merge pull request #3 from Teddii/master

X-Economy 1.8.0