fixed some bugs
fixed #21 added tooltip for files and extensions.