added registry. changed window dimensions