fixed some small bugs and added /usr/local/etc/codepad.conf path