Changed Vars, Added Comments, Updated Slightly

New user defined sleep interval,, updated time handling.