WYOCL: Fixed several bugs and significantly improved dead code elimination