Stylistic cleanup for kangjianbin's improvements

I haven't tested this fully myself, as I don't have a working ipop
install, but the changes are pretty simple.
Merge pull request #10 from PiPeep/kangjianbin-cleanup

Stylistic cleanup for kangjianbin's improvements