— Fixed some warnings
— Added the option of avoiding starting the whole scanning procedure if it makes no sense. Will still support the old way of doing things, however.