multiple bug fixes, security improvements and styling updates