make draw board work on other hosts, some bug fixing