prepare version 0.0.3.pre
add some debug messages
add --wait option (resolves #16)