Refactored client code.
Refactored client code.

Split the code into dedicated modules. Replaced the drawing code with something better. Improved the flow of the network response handling.
gregtour/netBEAM,gregtour/netBEAM