restore memory initialization and testing
always load memory initializer asynchronously, to keep shell and web as similar as possible
do not use memory init file in relooper itself
split out dynamic cast tests
run postsets right before main, and after the memory initializer has been set up
only emit postsets in pre and when they actually exist