resize bitmap, added ng-trim, dont send if only whitespace, automatic resize of textbox, color tweaks