added support for latest stable 4.1.01

fixed bug which made heaps of dialogs because of mark viewed.
made new class to take care of all versions.