First working prototype.

Basic functionality implemented. Only supports PNG input/output,
hardcoded localhost server URL.
Add debug menu items.