Added Dynamic Scaling

Images and board now correctly scales. Component listener outputs the
current width and height of the window in command prompt.