Added size getters and WM_COMMAND mangling