did a lot of shit
added erase feature
added layout for resize option