Local import (99% done). Add icons. Fix issue with global db dict.