Merge pull request #113 from thedax/master

Remove hard-coded accept and cancel buttons.
glstate: Switch to glBlendFuncSeparate for more flexibility.
Android buildfix
Maemo: *joy was not defined when MAEMO
Maemo: don't include <EGL/egl.h>, it will fetch XLib.h and it breaks compiling
Maemo: There are no Escape on Maemo, use SDL_BACKSPACE
Maemo: Maemo needs same PFNGLDISCARDFRAMEBUFFEREXTPROC etc than Meego
Merge pull request #115 from aapo/master

Maemo5 support.
Fix ridiculous bug that would ignore (and thus delete when resaved) the last line of ini files if it didn't end with a line break.
Unicode prep
Windows build fix.