troubleshooting segfaults

Updated UI and added functionality. Problems regarding segfaults
encountered with server however. Removed panicing in order to test stuff
out.