improve preloadAfterLoad option
add beforeUnveil option