huge change, revamped page system, remove <wpage>, use an attribute instead