Overhauled BMP, fixed/added window operations