space between tabmenu and tab removed
writesprite.sh: python3-compatible