Engine fixes

a2_Now() only adds buffer latency for realtime states. This
eliminates bogus initial silence when rendering waves offline.

a2_Close() now pumps API and engine messages, to avoid dropped
engine/RT error messages and leaked handles.