Modifications in gui

Modification done in all the panels. The resize problem solved but not
in a very proper way. Focus lost and option pane implemented. They are
some missing option pane which will be done while this goes ahead