improved style and resources panel
uses cookie to keep panel opened
added closing button
added support for ajax