Improved styling of small button groups
Fixed a few issues related to attachment management