Fixed weird delete key problems.