Fix more bugs and add kinging to pieces.