add missing null arg to Object.create

whoops
add a DockMode enum
export the new enums