Added debug log. On debug mode (with QT) asserts will give info about invalid operations. On release, it will
NOT perform any checks. Stuff should always be developed on debug