Improved contact db querying & 2k res drawing