Added DEMulBC, setLcdWindow and improved randA