finished first version of profile window