also abstracted ncurses WINDOW into the ct_surface structure. and added ct_bounds to complement ct_dims.
isolate ct_dims implementation to dims.*