[stylus] cleaning + fixing compilation errors