Fixed deployment step.
Fixed version of measured. It fucked up all stats with ver 0.1.5
Bumped version
Completed close function.
Added more logic to clear_plugins.
Added end function and discard regexp.