fixed table column widths
fixed not available message
refactored a bit, fixed a few bugs orso