fixed angle brush parameter
eraser in brush settings now
fixed bugs with layer manager and undo manager on changing tab