Fixed client size and scaling issues

Client did not perform very well in higher dpi environments. Now trying
to do some basic size scaling when resizing based on dpi. If client is
modified in higher dpi mode, client will most likely look odd in lower
dpi systems, so please test if you do so.