_pir now records any motion within timeframe
Updated minor changes