Increased length of query result string to better fit data.
Made result text from database query shrink and grow dynamically.

Also shrank the lines of code needed to querry the database slightly.