Removed api for ime handling.

IME handling is an absolute mess. Use the 'keyboard_text' function instead. IME handling might be added again for windows, but don't count on it.
Api update, fleshed out windowing and network.