Fix #50 by using nullptr and adding stricter warning.