minor layout improvements

+ added border to formula in ScriptCollectionView
+ limited length of formula in ScriptCollectionView
+ removed trailing whitespace in FE textfield