Minor improvements on how sql disabled info item is generated and
managed.

Fixed a bug on when exporting model to png that was exporting
unnecessary blank areas.