Finished Debugging Medium_Security

-Included missing modifications to _IDs from Insert_Helper and Extract
functions
-Fixed a few other things