bugfix: Fixed textbox double input under Linux. Fixed black window issue.
feature: New class state_cursor.
bugfix: Improved stability under Linux.
bugfix: Fixed a compiling-error in MinGW.