Fixed python exit on JavaFX window close (via win32api.PostQuitMessage(); the problem was simply that pythoncom.PumpMessages wasn't stopping when exit() was called.).  JavaFX loss of precision errors cleared up with explicit typecast to int.