Fix #618 (Table view not resizing)
64 bit fixes