Faulty commenting removed.
Made more robust.
Background mode more used.