Fixed the Polling in main game, fixed buttons.

Buttons like "cancel" work as intended, POST messages are being sent
correctly, but not interpreted correctly on ther server side yet.