Made slight optimizations to compiled Penknife code.