added example background config file, fixed bug where short events were not processed