Fixed an issue with deleting elements in a linked list while iterating them. Plugins now unload in reverse order
Added base for input plugin