Fixed errors, MW not dying. Don't know if actually working