changed to FlowLayout
removed dependency on other plugins