FIX: mprWaitForEvent fix
REFACTOR: Set version to 5.1.0