added onpageunload confirmation to admin page; bugfixes in gui creation/updating