Added preliminary Korean language support. Other minor improvements.