Finish up SM3

Done!
Hah, that'd be quite the DOS... "generated empty string". Will fix it.