Change panel contents to textarea. Add more libs

Now using Autosize.

Changed panel contents from <span> to <textarea> for easier user input