small fixes, auto-resizing theme