Update for new DPF; Allow to resize window using keys