fixed eventCount default, added input sanitation.
rewrote query for retrieving recent audit 'events'.