[STYLE] Removed blancs.
[MODIF] Do not instantiate Long object infinilety when no new entries or
records will be pushed into Database by Writer Thread, avoiding
continuous GC.
[FIX] Fecth history from database once.
[COMMENT] Added important tasks relative to database.