Added ability to check if clipboard is available