BeagleBone cleanup interrupt handling. Do other trivial cleanup.