Added "expand" and "trim" to resize options, fixed bug with drawing pen.