Comments and BugFixes

Fixed admin bar displaying search box automatically. Added some
comments.