use aptMainLoop(). closes #9