Better button debounce, configurable UDP port

The new debounce logic, plus configurable UDP port (default to the same as the webserver port)