separate background and bug mode

new argument "-bug" in addition to "-bg"
temp file

parking a temp file here while jks.com is down