optional prepared window
use prepared window by default
small fixes
update build