pic_file refactors; fix key drawing (#91)