Emitting signal when a tab is closed to be able to handle closure of tabs.
Adding a popup when the machine current is below the threshold to make it
clearer for the user that this has occurred.
Added tab changed signal.
Removed warning popup since the state is changed continuously.
Using newValue instead of self[property], since self[property]
might not be set.when propertyChanged is called.