History PDF mode fixed
Database layer classes updated: codefragment should not be saved because of big size
Code fragment updated with pieces from original code