added autosizing capabilities and cleaned up some more styling.