Code cleanup in akai apc40 module