added clear button but still needs work also added fuction to calc window size