bug fixes, additions to advanced panel