adapt host name to connect to based on where the page was loaded from
chmod recursively
motion2d display initial values
removed debug output