Added default window procedure functionality and comments to custom wundow procedure.